import Viewer from "../../../vendor/zhangsan/src/core/Viewer/Viewer.js"
import NotFountView from "../../views/default/NotFountView.js"
/**
 * 异常 控制器
 */
let ExceptionController = class ExceptionController{

    /**
     * 构造
     */
    constructor(){
    }

    /**
     * 没有权限 403 并 转到登录页
     */
    static HTTP_FORBIDDEN_TO_LOGIN = function(){

    }

    /**
     * 没有权限 403
     */
    static HTTP_FORBIDDEN = function(){

    }
    /**
     * 页面没有找到 404
     */
    static HTTP_NOT_FOUND = function(){
        return new Viewer(new NotFountView())
    }

    /**
     * 服务器错误 500
     */
    static HTTP_INTERNAL_SERVER_ERROR = function(){

    }

}

export default ExceptionController